
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户信息管理</title>
<link rel="stylesheet" type="text/css"
	href="/ui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/ui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/css/image.css">
<script type="text/javascript" src="/ui/jquery.min.js"></script>
<script type="text/javascript" src="/ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/ui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/checkManage/userControl.js"></script>
<script type="text/javascript" src='/js/utils/utils.js'></script>
</head>
<body>
	<!--搜索区  -->
	<div class="easyui-panel">
		<form id="searchForm">
			<table cellpadding="5">
				<tr>
					<td>用户名：</td>
					<td><input name="user_code" type="text" id="user_code" /></td>
					<td>用户类型：</td>
					<td><select name="user_type" panelHeight="auto" id="user_type"
						class="easyui-combobox" editable="flase">
							<option>---请选择---</option>
							<option value="超级管理员">超级管理员</option>
							<option value="院系联系人">院系联系人</option>
							<option value="公司负责人">公司负责人</option>
							<option value="普通管理员">普通管理员</option>
					</select></td>
					<td>所属公司：</td>
					<td><input name="user_companyid" class="easyui-combobox"
						id="queryCompany" /></td>
					<td>政治面貌:</td>
					<td><select name="user_politics" panelHeight="auto"
						class="easyui-combobox" id="user_politics" editable="flase">
							<option>---请选择---</option>
							<option value="共青团员">共青团员</option>
							<option value="党员">党员</option>
							<option value="群众">群众</option>
							<option value="其他">其他</option>
					</select></td>
				</tr>
			</table>
			<button type="button" id="btnSearch" onclick="query()">查询</button>
		</form>
	</div>
	<table id="test"></table>
	<div id="w" class="easyui-window" title="修改用户" style="width: 550px"
		data-options="closed:true">
		<form id="updateUserForm" method="post" enctype="multipart/form-data"
			target="upload">
			<input name="user_id" type="hidden">
			<table cellpadding="5" border="0" style="width: 520px">
				<tr>
					<td>用户名:</td>
					<td><input type="text" name="user_code" /></td>
					<td align="center"><span>证件照:</span></td>
					<td colspan="1" rowspan="4" align="center">

						<div id="divPreview1">
							<img id="imgHeadPhoto1" width="125" height="175"
								style="float: center;">
						</div>
					</td>
				</tr>
				<tr>
					<td>密码:</td>
					<td><input name="user_pwd" type="text"/.
					></td>
				</tr>
				<tr>
					<td>性别:</td>
					<td><select name="user_sex" style="width: 175px"
						panelHeight="auto" class="easyui-combobox" editable="flase">

							<option value="男">男</option>
							<option value="女">女</option>
					</select></td>
				</tr>
				<tr>
					<td>用户类型:</td>
					<td><select name="user_type" panelHeight="auto"
						style="width: 175px" class="easyui-combobox" editable="flase">
							<option>--请选择--</option>
							<option value="超级管理员">超级管理员</option>
							<option value="院系负责人">院系负责人</option>
							<option value="公司负责人">公司负责人</option>
							<option value="普通管理员">普通管理员</option>
					</select></td>
				</tr>
				<tr>
					<td>所属公司:</td>
					<td><input name="user_companyid" style="width: 175px"
						panelMaxHeight="150px" id="updateCompany"></td>

					<td></td>
					<td colspan="1">
						<div class="div1" align="center">
							<!--  修改-->
							<input type="file" name="image" class="file_input"
								id="updateUpload1"
								onchange="PreviewImage(this,'imgHeadPhoto1','divPreview1')">
						</div>
					</td>
				</tr>
				<tr>
					<td>所属院系:</td>
					<td><input name="user_facilityid" /></td>

					<td>政治面貌:</td>
					<td><select name="user_politics" style="width: 175px"
						panelHeight="auto" class="easyui-combobox" editable="flase">
							<option>---请选择---</option>
							<option value="共青团员">共青团员</option>
							<option value="党员">党员</option>
							<option value="群众">群众</option>
							<option value="其他">其他</option>
					</select></td>
				</tr>
				<tr>
					<td>学号:</td>
					<td><input name="user_sno" /></td>
					<td>身份证号:</td>
					<td><input name="user_card" /></td>
				</tr>
				<tr>
					<td>微信或QQ:</td>
					<td><input name="user_wx" /></td>

					<td>专业:</td>
					<td><input name="user_major" /></td>
				</tr>
				<tr>
					<td>入校时间:</td>
					<td><input name="user_enterSchool" class="easyui-datebox"
						editable="flase"></td>

					<td>家庭住址:</td>
					<td><textarea name="user_homeaddr"></textarea></td>
				</tr>
				<tr>
					<td>联系电话:</td>
					<td><input name="user_tel" /></td>
					<td align="center"><button id="updateUser" type="button">保存</button></td>
				</tr>
			</table>
		</form>
	</div>

	<div id="e" class="easyui-window" title="添加用户" style="width: 550px"
		data-options="closed:true">
		<form id="adduserForm" method="post" enctype="multipart/form-data">
			<input name="user_id" type="hidden">
			<table cellpadding="5" border="0" style="width: 520px">
				<tr>
					<td>用户名:</td>
					<td><input type="text" name="user_code" /></td>
					<td align="center"><span>证件照:</span></td>
					<td colspan="1" rowspan="4" align="center">
						<div id="divPreview2">
							<img id="imgHeadPhoto2" width="125" height="175"
								style="float: center;">
						</div>
					</td>
				</tr>

				<tr>
					<td>密码:</td>
					<td><input name="user_pwd" type="text" /></td>
				</tr>

				<tr>
					<td>性别:</td>
					<td><select name="user_sex" style="width: 175px"
						panelHeight="auto" class="easyui-combobox" editable="flase">
							<option value="男">男</option>
							<option value="女">女</option>
					</select></td>
				</tr>


				<tr>
					<td>用户类型:</td>
					<td><select name="user_type" panelHeight="auto"
						style="width: 175px" class="easyui-combobox" editable="flase">
							<option>---请选择---</option>
							<option value="0">超级管理员</option>
							<option value="1">院系负责人</option>
							<option value="2">公司负责人</option>
							<option value="3">普通管理员</option>
					</select></td>

				</tr>
				<tr>
					<td>所属公司:</td>
					<td><input name="user_companyid" style="width: 175px"
						panelMaxHeight="150px" id="addCompany"></td>

					<td></td>
					<td colspan="1">
						<div class="div1" align="center">
							<input type="file" name="image" class="file_input"
								id="updateUpload2"
								onchange="PreviewImage(this,'imgHeadPhoto2','divPreview2')">
						</div>
					</td>
				</tr>

				<tr>
					<td>所属院系:</td>
					<td><input name="user_facilityid" /></td>

					<td>政治面貌:</td>
					<td><select name="user_politics" style="width: 175px"
						panelHeight="auto" class="easyui-combobox" editable="flase">
							<option>---请选择---</option>
							<option value="共青团员">共青团员</option>
							<option value="党员">党员</option>
							<option value="群众">群众</option>
							<option value="其他">其他</option>
					</select></td>

				</tr>


				<tr>
					<td>学号:</td>
					<td><input name="user_sno" /></td>
					<td>身份证号:</td>
					<td><input name="user_card" /></td>
				</tr>
				<tr>
					<td>微信或QQ:</td>
					<td><input name="user_wx" /></td>

					<td>专业:</td>
					<td><input name="user_major" /></td>
				</tr>
				<tr>
					<td>入校时间:</td>
					<td><input name="user_enterSchool" class="easyui-datebox"
						editable="flase" /></td>

					<td>家庭住址:</td>
					<td><textarea name="user_homeaddr"></textarea></td>
				</tr>
				<tr>
					<td>联系电话:</td>
					<td><input name="user_tel" /></td>


					<td align="center"><button id="addUser" type="button">保存</button></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
